<?php
function save($data)
{	
	$con ="<?php \n return ".var_export($data,true).";\n?>";
	return file_put_contents('db.php', $con);
}